<?php

namespace app\admin\controller;

use think\exception\ValidateException;
use app\model\QrcodeMod;

class paymentcodeController extends Base
{
	function index()
	{
		$QrcodeMod = new QrcodeMod;
		$page = 'pagesA/my/maidan/index';
		$params['sid'] = $this->sid;
		$res['qrcodeurl'] = $QrcodeMod->getPaymentQrcode($params, $page);

		$data['data'] = $res;
		return $this->json($data);
	}
}
